<template>
  <div id="page-help-detail">
    <div class="help_breadcrumb">位置：帮助中心</div>
    <div class="help_center">
      <p class="help_title">{{helpData.title}}</p>
      <div class="help_content ql-editor" v-html="helpData.content">
       
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "helpDetail",
  data() {
    return {
      helpData: ''
    };
  },
  methods: {
    helpCenterData() {
      var data = {
        id: this.$route.query.id
      }
      this.$request.helpData(data).then(res=>{
        console.log(res)
        this.helpData = res.data
      }, err => {
        console.log(err);
        this.requestFail(err);
      })
    }
  },
  mounted(){
    this.helpCenterData()
  }
};
</script>

<style scoped>
.help_breadcrumb {
  width: 100%;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  letter-spacing: 2px;
  color: #252627;
  background: #ffffff;
  line-height: 58px;
  padding-left: 20px;
}

.help_center {
  width: 100%;
  margin-top: 10px;
  background: #ffffff;
  overflow: hidden;
}

.help_center .help_title {
  font-size: 28px;
  font-weight: normal;
  font-stretch: normal;
  line-height: 76px;
  letter-spacing: 0px;
  color: #252627;
  margin-top: 10px;
  text-align: center;
  border-bottom: solid 1px #e6e6e6;
}

.help_content {
  padding: 40px 30px;
}

.help_content p {
  font-size: 18px;
  font-weight: normal;
  font-stretch: normal;
  line-height: 30px;
  letter-spacing: 0px;
  color: #252627;
}
</style>